package com.test.io.bean;

import java.util.List;

public class Product {
    public String id;
    public int jumpType;//1:shopping cart;0:shopping bag.
    public String jumpLink;
    public List<LookProductTags.TagInfo> productInfo;


     @Override
    public int hashCode() {
        int result = 17;
        result = result * 31 +( id == null ? 0 : id.hashCode());
        result = result * 31 + jumpType;
        result = result * 31 + (jumpLink == null ? 0 : jumpLink.hashCode());
        if (productInfo != null) {
            for (LookProductTags.TagInfo info : productInfo) {
                result = result * 31 + info.hashCode();
            }
        }
        return result;
    }
}
